package com.wxprogram.smallprogram.dao;

import com.wxprogram.smallprogram.entity.UserStudent;
import com.wxprogram.smallprogram.entity.UserTeacher;

public interface UserInfoDao {
	/**
	 * 获取学长信息
	 */
	UserTeacher getTeacherInfo(String openID);
	//删除学长信息
	int deleteTeacherInfo(String openID);
	
	//获取学生信息
	UserStudent getStudentInfo(String openID);
	//删除学生信息
	int deleteStudentInfo(String openID);

	//添加学长
	int insertTeacher(UserTeacher userTeacher);
	//添加学生
	int insertStudent(UserStudent userStudent);

}
